<?php
  if(isset($cities)) {
     // echo ($cities);
    echo $javascript->object($cities);
  }
?>